/**
 * 稀疏矩阵非零元素类
 * 
 * @author 杨满球（本地）
 *
 */
class TripleNode {
	private int row;
	private int col;
	private int value;

	public TripleNode() {
	}

	public TripleNode(int row, int column, int value) {
		this.row = row;
		this.col = column;
		this.value = value;
	}

	@Override
	public String toString() {
		return row + "\t" + col + "\t" + value;
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public int getColumn() {
		return col;
	}

	public void setColumn(int col) {
		this.col = col;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

}
